package at.markusreich.racecalendar.client;

import at.markusreich.racecalendar.client.service.CalendarService;
import at.markusreich.racecalendar.client.service.CalendarServiceAsync;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.user.client.ui.RootPanel;

public class RaceCalendar implements EntryPoint {

	@Override
	public void onModuleLoad() {
		CalendarServiceAsync calendarService = GWT.create(CalendarService.class);
	    HandlerManager eventBus = new HandlerManager(null);
	    AppController appController = new AppController(calendarService, eventBus);
	    appController.go(RootPanel.get());
	}

}
